package boundary;

public class UI {
	private UIManager uiManager;
	private static UI instance;

	private UI() {}

	public static UI getInstance() {
		if (instance == null) {
			instance = new UI();
		}
		return instance;
	}

	public static void init(UIManager uiManager) {
		getInstance().uiManager = uiManager;
	}

	public static UIManager get() {
		return getInstance().uiManager;
	}

}
